body {
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: auto;
    background-color: #BBE9F8;
    background: url("/static/images/357217.jpg") 50% 0px / cover no-repeat fixed;
}
.container-fluid{
    padding-left: calc(50px + 15vw);  /* 最小50px + 视窗宽度的5% */
    padding-right: calc(50px + 15vw);
    padding-top: 80px;
}
.row{
    background-color:rgba(255, 255, 255, 0.7);
    min-height: 600px;
    padding-top: 15px;
}
.row.error{
    background-color:rgba(255, 255, 255);
    min-height: 800px;
    padding-top: 15px;
}
.btn-outline-success{
    margin-bottom: 15px;
    float: right;
}
.media-object{
    width: 60px;
    height: 60px;
}
.media-left{
    margin-left: 10px;
    margin-top: 10px;
}
.media-body{
    margin-left: 10px;
    margin-top: 10px;
}
.text-desc{
    font-size: 12px;
    color: #999;
    font-weight: normal;
}
.post-body{
    padding-left: 10px;
    padding-right: 10px;
}
.post-menu{
    color: #999;
    margin-left: 10px;
}
.face-l{
    width: 70px;
    height: 70px;
}
.face-m{
    width: 50px;
    height: 50px;
}
.face-s{
    width: 30px;
    height: 30px;
}
.picture-margin{
    margin-top: 10px;
}
.body-margin{
    margin-top: 20px;
}
.comment{
    margin: 10px 0;
}
.comment2{
    background-color: rgba(255, 255, 255, 0.3);
}
.icon{
    margin-left: 10px;
    margin-right: 10px;
    color: #999;
}
.icon.active{
    color: #1e7dd7;
}
.icon:hover{
    color: #1e7dd7;
}
.comment2{
    margin: 10px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
}
.tag{
    margin-right: 5px;
}
.href{
    color: #000;
}
.publish-tag{
    display: none;
}
#editor—wrapper {
    border: 1px solid #ccc;
    z-index: 1050; /* 按需定义 */
}
#toolbar-container {
    border-bottom: 1px solid #ccc;
}
#editor-container {
    height: 380px;
}
.nav-menu{
    z-index: 1000;
}
.liked svg {
    fill: #28a745 !important; /* 点赞后变为绿色 */
}

.like-btn {
    cursor: pointer;
    transition: all 0.3s;
}

.like-btn:hover {
    transform: scale(1.1);
}
.edit-comment-container {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

#editor-container-edit {
    min-height: 150px;
    border: 1px solid #ddd;
    padding: 10px;
}
.message-bubble {
    max-width: 70%;
    word-wrap: break-word;
}

/* 当前用户消息气泡 */
.message-item.justify-content-end .message-bubble {
    background-color: #007bff;
    color: white;
}

/* 对方消息气泡 */
.message-item .message-bubble {
    background-color: #f8f9fa;
}